﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000453 RID: 1107
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class EnteredSceneChangeScNotify : IMessage<EnteredSceneChangeScNotify>, IMessage, IEquatable<EnteredSceneChangeScNotify>, IDeepCloneable<EnteredSceneChangeScNotify>, IBufferMessage
	{
		// Token: 0x17000E37 RID: 3639
		// (get) Token: 0x060031BD RID: 12733 RVA: 0x00088949 File Offset: 0x00086B49
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<EnteredSceneChangeScNotify> Parser
		{
			get
			{
				return EnteredSceneChangeScNotify._parser;
			}
		}

		// Token: 0x17000E38 RID: 3640
		// (get) Token: 0x060031BE RID: 12734 RVA: 0x00088950 File Offset: 0x00086B50
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return EnteredSceneChangeScNotifyReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17000E39 RID: 3641
		// (get) Token: 0x060031BF RID: 12735 RVA: 0x00088962 File Offset: 0x00086B62
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return EnteredSceneChangeScNotify.Descriptor;
			}
		}

		// Token: 0x060031C0 RID: 12736 RVA: 0x00088969 File Offset: 0x00086B69
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnteredSceneChangeScNotify()
		{
		}

		// Token: 0x060031C1 RID: 12737 RVA: 0x0008897C File Offset: 0x00086B7C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnteredSceneChangeScNotify(EnteredSceneChangeScNotify other) : this()
		{
			this.enteredSceneInfoList_ = other.enteredSceneInfoList_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x060031C2 RID: 12738 RVA: 0x000889A6 File Offset: 0x00086BA6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public EnteredSceneChangeScNotify Clone()
		{
			return new EnteredSceneChangeScNotify(this);
		}

		// Token: 0x17000E3A RID: 3642
		// (get) Token: 0x060031C3 RID: 12739 RVA: 0x000889AE File Offset: 0x00086BAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<EnteredSceneInfo> EnteredSceneInfoList
		{
			get
			{
				return this.enteredSceneInfoList_;
			}
		}

		// Token: 0x060031C4 RID: 12740 RVA: 0x000889B6 File Offset: 0x00086BB6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as EnteredSceneChangeScNotify);
		}

		// Token: 0x060031C5 RID: 12741 RVA: 0x000889C4 File Offset: 0x00086BC4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(EnteredSceneChangeScNotify other)
		{
			return other != null && (other == this || (this.enteredSceneInfoList_.Equals(other.enteredSceneInfoList_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x060031C6 RID: 12742 RVA: 0x000889F8 File Offset: 0x00086BF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.enteredSceneInfoList_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x060031C7 RID: 12743 RVA: 0x00088A2C File Offset: 0x00086C2C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x060031C8 RID: 12744 RVA: 0x00088A34 File Offset: 0x00086C34
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x060031C9 RID: 12745 RVA: 0x00088A3D File Offset: 0x00086C3D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.enteredSceneInfoList_.WriteTo(ref output, EnteredSceneChangeScNotify._repeated_enteredSceneInfoList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x060031CA RID: 12746 RVA: 0x00088A64 File Offset: 0x00086C64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.enteredSceneInfoList_.CalculateSize(EnteredSceneChangeScNotify._repeated_enteredSceneInfoList_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x060031CB RID: 12747 RVA: 0x00088A9D File Offset: 0x00086C9D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(EnteredSceneChangeScNotify other)
		{
			if (other == null)
			{
				return;
			}
			this.enteredSceneInfoList_.Add(other.enteredSceneInfoList_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x060031CC RID: 12748 RVA: 0x00088ACB File Offset: 0x00086CCB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x060031CD RID: 12749 RVA: 0x00088AD4 File Offset: 0x00086CD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 106U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.enteredSceneInfoList_.AddEntriesFrom(ref input, EnteredSceneChangeScNotify._repeated_enteredSceneInfoList_codec);
				}
			}
		}

		// Token: 0x0400137F RID: 4991
		private static readonly MessageParser<EnteredSceneChangeScNotify> _parser = new MessageParser<EnteredSceneChangeScNotify>(() => new EnteredSceneChangeScNotify());

		// Token: 0x04001380 RID: 4992
		private UnknownFieldSet _unknownFields;

		// Token: 0x04001381 RID: 4993
		public const int EnteredSceneInfoListFieldNumber = 13;

		// Token: 0x04001382 RID: 4994
		private static readonly FieldCodec<EnteredSceneInfo> _repeated_enteredSceneInfoList_codec = FieldCodec.ForMessage<EnteredSceneInfo>(106U, EnteredSceneInfo.Parser);

		// Token: 0x04001383 RID: 4995
		private readonly RepeatedField<EnteredSceneInfo> enteredSceneInfoList_ = new RepeatedField<EnteredSceneInfo>();
	}
}
